﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Yqd.Models
{
    public class Yqd_TaskType
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long ID { get; set; }

        //[DisplayName("类别名称")]
        [StringLength(50)]
        [Required(ErrorMessage = "类别名称不能为空.")]
        public string TypeName { get; set; }

        //[DisplayName("类别ID")]
        public long TypeID { get; set; }

        //[DisplayName("父级ID")]
        public long ParentID { get; set; }

        //[DisplayName("排序")]
        public int Tactic { get; set; }
    }
}
